Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

202
Views
obteniendo el problema de vulnerabilidad "Verificar el origen del mensaje en esta comunicación de origen cruzado" en window.addEventListener('load', function (eve) {}) JS

"Verifique el origen del mensaje en esta comunicación de origen cruzado"

Estoy superando el problema de vulnerabilidad en la función window.AddEventListener().

He arreglado para window.addEventListener('message', function (e) {}) como a continuación

 window.addEventListener('message', function (e) { if (e.origin !== undefined && !objCommon.Origin.includes(e.origin)) return; })

pero para window.addEventListener('load', function (eve) {}) y window.addEventListener('unload', function (eve) {}) no obtengo el valor de origen del parámetro eve .

Entonces, ¿cómo solucionar este problema para cargar y descargar addeventlistner?

Gracias

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!